--
-- Author: mengjie
-- Date: 2016-04-09 15:41:39
--
local BaseBlock = class("BaseBlock",function()
	return display.newSprite()
end)
function BaseBlock:ctor(blockType)
	self.blockType = blockType
	self:setAnchorPoint(cc.p(0,0))
	self:setContentSize(cc.size(CELL_WIDTH, CELL_HEIGHT))
	self:setScaleX(CELL_WIDTH)
	self:setScaleY(CELL_HEIGHT)
	self:setBgType(blockType)
end
function BaseBlock:setBgType(btype)
	self:setSpriteFrame(display.newSpriteFrame("boom"..btype..".png"))

end
return BaseBlock